

/**
 * 格式化分类名
 * @param categories
 * @returns {string}
 */
export function formatCategoryName(categories){
  let categoryName = [];
  for (const category of categories) {
    categoryName.push(category.title_cn)
  }
  return categoryName.join(' > ')
}
